package com.dormitory.management.system.req;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Health对象", description="疫情防控表")
public class HealthPageReq implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "当前页")
    private Integer pageCurrent = 1;

    @ApiModelProperty(value = "每页记录数")
    private Integer pageSize = 10;

    @ApiModelProperty(value = "学号或工号",required = true)
    private String username;

    @ApiModelProperty(value = "学生id")
    private String stuId;

    @ApiModelProperty(value = "宿舍号")
    private Integer room;

    @ApiModelProperty(value = "起始时间")
    private Date gmtModifiedEarliest;

    @ApiModelProperty(value = "结束时间")
    private Date gmtModifiedLatest;

    @ApiModelProperty(value = "疫情表id")
    private Long id;

    @ApiModelProperty(value = "健康状态是否正常")
    private Integer isHealthStatus;

    @ApiModelProperty(value = "是否所在高风险地区（0：否，1：是）")
    private Integer isHighRiskAreas;

    @ApiModelProperty(value = "是否在校（0：在校，1：不在校）")
    private Integer isInSchool;

    @ApiModelProperty(value = "14天内是否经过高风险地区（0：未经过，1：经过）")
    private Integer isPassHighRiskAreas;




}
